﻿<html>
<head>
    <title>PopupEdit - jQuery MiniUI 3.0 Documentation</title>    

    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="keywords" content="jquery,datagrid,grid,表格控件,ajax,web开发,java开发,.net开发,tree,table,treegrid" />
    <meta name="description" content="jQuery MiniUI - 专业WebUI控件库。jQuery MiniUI是使用Javascript实现的前端Ajax组件库，支持所有浏览器，可以跨平台开发，如Java、.Net、PHP等。" />

    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <script src="core.js" type="text/javascript"></script>
    
        

    
</head>
<body>
    <h3>mini.PopupEdit</h3>
    
    <p>下拉输入框基类。</p>

    <h4>Extend</h4>
    <p> <a class="extendlink" href="buttonedit.html">mini.ButtonEdit</a></p>    



    <h4>Properties</h4>
    <table>
        <tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th><a href="setsupport.html" target="_blank" style="padding-left:5px;padding-right:5px;"> Set? </a></th><th><a href="getsupport.html" target="_blank" style="padding-left:5px;padding-right:5px;"> Get? </a></th><th><a href="tagsupport.html" target="_blank" style="padding-left:5px;padding-right:5px;"> Tag? </a></th></tr>
        <tr>
            <td>popupWidth</td>
            <td>String</td>
            <td>下拉框宽度。"100%","auto",200</td>
            <td>100%</td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr> 
        <tr>
            <td>popupHeight</td>
            <td>String</td>
            <td>下拉框高度。"", 50</td>
            <td></td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr>
        <tr>
            <td>popup</td>
            <td>String</td>
            <td>下拉框id。如"#gridPanel"</td>
            <td></td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr> 
        <tr>
            <td>showPopupOnClick</td>
            <td>Boolean</td>
            <td>设置true时，点击输入框也弹出下拉框</td>
            <td>false</td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr> 
        

        <tr>
            <td>popupMinWidth</td>
            <td>String</td>
            <td>最小下拉框高度。</td>
            <td></td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr>
        <tr>
            <td>popupMaxHeight</td>
            <td>String</td>
            <td>最大下拉框高度。</td>
            <td></td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr>
        <tr>
            <td>alwaysView</td>
            <td>Boolean</td>
            <td>确保下拉框在窗口内显示，自动调整位置。</td>
            <td></td>
            <td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td><td style="text-align:center;">&radic;</td>
        </tr>

        

    </table>

    <h4>Methods</h4>
    <table>
        <tr><th>Name</th><th>Parameter</th><th>Description</th><th>Return</th></tr>
        <tr>
            <td>setValue（value）</td>
            <td></td>
            <td>设置值</td>
            <td></td>
        </tr>
        <tr>
            <td>getValue（）</td>
            <td></td>
            <td>获取值</td>
            <td></td>
        </tr>
        
    </table>

    <h4>Events</h4>
    <table>
        <tr><th>Name</th><th>EventObject</th><th>Description</th></tr>
        <tr>
            <td>valuechanged</td>
            <td></td>
            <td>值改变时发生</td>
           
        </tr>
        <tr>
            <td>beforeshowpopup</td>
            <td>
<pre>
{
  sender: Object,
  cancel: false
}
</pre>            
            </td>
            <td>下拉框弹出前发生</td>
           
        </tr>
        <tr>
            <td>showpopup</td>
            <td></td>
            <td>下拉框弹出时发生</td>
           
        </tr>
        <tr>
            <td>hidepopup</td>
            <td></td>
            <td>下拉框隐藏时发生</td>
           
        </tr>
    </table>

</body>
</html>